/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2005-2010 Hechzh Property
   Copyright (C) 2014-2018 Hechzh Property

   
*/
/*
 * tls_openssl.c TLS support functions when using OPENSSL backend.
 *
 * Author: Landon Fuller <landonf@threerings.net>
 */

#ifndef BAREOS_LIB_TLS_OPENSSL_CRL_H_
#define BAREOS_LIB_TLS_OPENSSL_CRL_H_

#if (OPENSSL_VERSION_NUMBER >= 0x00907000L) && \
    (OPENSSL_VERSION_NUMBER < 0x10100000L)

#include <openssl/ssl.h>
#include <string>

bool SetCertificateRevocationList(const std::string& crlfile_,
                                  SSL_CTX* openssl_ctx);


#endif /* (OPENSSL_VERSION_NUMBER >= 0x00907000L) && (OPENSSL_VERSION_NUMBER < \
          0x10100000L) */

#endif /* BAREOS_LIB_TLS_OPENSSL_CRL_H_ */
